package com.dayu.tcp.service.server;

import lombok.Getter;
import lombok.Setter;

/**
 * @author yehangtech
 * @date 2023/11/27 17:01
 * @description 全局共享的Server服务
 */
public class ServerContext {

    private static final ServerContext instance = new ServerContext();

    private ServerContext() {

    }

    public static ServerContext getServerContext() {
        return instance;
    }

    @Getter
    @Setter
    private Server server;
}
